﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="DTcms.Web.UI.Page.index" ValidateRequest="false" %>
<%@ Import namespace="System.Collections.Generic" %>
<%@ Import namespace="System.Text" %>
<%@ Import namespace="System.Data" %>
<%@ Import namespace="DTcms.Common" %>

<script runat="server">
override protected void OnInit(EventArgs e)
{

	/* 
		This page was created by DTcms Template Engine at 2013/9/16 23:38:04.
		本页面代码由DTcms模板引擎生成于 2013/9/16 23:38:04. 
	*/

	base.OnInit(e);
	StringBuilder templateBuilder = new StringBuilder(220000);

	templateBuilder.Append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n    <title>");
	templateBuilder.Append(Utils.ObjectToStr(config.webtitle));
	templateBuilder.Append("</title>\r\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n    <meta content=\"");
	templateBuilder.Append(Utils.ObjectToStr(config.webkeyword));
	templateBuilder.Append("\" name=\"keywords\">\r\n    <meta content=\"");
	templateBuilder.Append(Utils.ObjectToStr(config.webdescription));
	templateBuilder.Append("\" name=\"description\">\r\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n    <link href=\"");
	templateBuilder.Append(Utils.ObjectToStr(config.templateskin));
	templateBuilder.Append("/images/style.css\" type=\"text/css\" rel=\"stylesheet\">\r\n    <link href=\"");
	templateBuilder.Append(Utils.ObjectToStr(config.templateskin));
	templateBuilder.Append("/images/css.css\" type=\"text/css\" rel=\"stylesheet\">\r\n    <script src=\"");
	templateBuilder.Append(Utils.ObjectToStr(config.webpath));
	templateBuilder.Append("scripts/jquery/jquery-1.3.2.min.js\" type=\"text/javascript\"></");
	templateBuilder.Append("script>\r\n    <script src=\"");
	templateBuilder.Append(Utils.ObjectToStr(config.templateskin));
	templateBuilder.Append("/js/common.js\" type=\"text/javascript\"></");
	templateBuilder.Append("script>\r\n    <script src=\"");
	templateBuilder.Append(Utils.ObjectToStr(config.templateskin));
	templateBuilder.Append("/js/pic_roll.js\" type=\"text/javascript\"></");
	templateBuilder.Append("script>\r\n    <!--[if IE 6]>\r\n    <script src=\"/js/iepng.js\" type=\"text/javascript\"></");
	templateBuilder.Append("script>\r\n    <script type=\"text/javascript\">\r\n       EvPNG.fix('div, ul, img, li, input'); \r\n    </");
	templateBuilder.Append("script>\r\n    <![endif]-->\r\n</head>\r\n<body>\r\n    <!--Header-->\r\n    ");

	templateBuilder.Append("<div class=\"topbg\">\r\n    <div class=\"top_logo\">\r\n        <div class=\"logoright\">\r\n           <!-- <div class=\"homepage\">\r\n                <img src=\"images/gw.gif\" border=\"0\" style=\"margin: 0px 2px 0px 0px; vertical-align: middle;\">\r\n                <a href=\"http://86it.taobao.com/\" style=\"color: #2e2e2e; padding-right: 4px; font: 12px/22px Simsun;\"\r\n                    target=\"_blank\">公司淘宝店</a>\r\n                <img src=\"/images/map.gif\" border=\"0\" style=\"margin: 0px 2px 0px 1px; vertical-align: middle;\">\r\n                <a href=\"/plus/map.asp\" target=\"_blank\">网站地图</a>\r\n            </div>-->\r\n        </div>\r\n    </div>\r\n</div>\r\n<div class=\"clear\">\r\n</div>\r\n<div class=\"daohangbg\">\r\n    <div id=\"nav1\">\r\n        <div class=\"m\">\r\n            <ul>\r\n                <li><span><a href=\"");
	templateBuilder.Append(linkurl("index"));

	templateBuilder.Append("\">网站首页</a></span></li>\r\n                <li><span><a href=\"");
	templateBuilder.Append(linkurl("goods"));

	templateBuilder.Append("\">销售产品</a></span></li>\r\n                <li><span><a href=\"");
	templateBuilder.Append(linkurl("service"));

	templateBuilder.Append("\" title=\"服务项目\">服务项目</a></span></li>\r\n                <li><span><a href=\"#\">IT外包</a></span></li>\r\n                <li><span><a href=\"#\">合作案例</a></span></li>\r\n                <li><span><a href=\"#\">价目清单</a></span></li>\r\n                <li><span><a href=\"#\">软件下载</a></span></li>\r\n                <li><span><a href=\"");
	templateBuilder.Append(linkurl("news"));

	templateBuilder.Append("\">电脑知识</a></span></li>\r\n                <li><span><a href=\"#\">关于我们</a></span></li>\r\n                <li><span><a href=\"#\">联系我们</a></span></li>\r\n            </ul>\r\n        </div>\r\n    </div>\r\n</div>\r\n");


	templateBuilder.Append("\r\n    <!--/Header-->\r\n    <!--幻灯片-->\r\n    <div class=\"banner w980 center clearfix\">\r\n        <div class=\"l\">\r\n            <script type=\"text/javascript\">\r\n                var swf_width = 976;\r\n                var swf_height = 260;\r\n                var files = '");
	templateBuilder.Append(Utils.ObjectToStr(config.webpath));
	templateBuilder.Append("upload/ad01.jpg|");
	templateBuilder.Append(Utils.ObjectToStr(config.webpath));
	templateBuilder.Append("upload/ad02.jpg|");
	templateBuilder.Append(Utils.ObjectToStr(config.webpath));
	templateBuilder.Append("upload/ad02.jpg';\r\n                var links = '||';\r\n                var texts = '';\r\n                var swfpath = '");
	templateBuilder.Append(Utils.ObjectToStr(config.templateskin));
	templateBuilder.Append("/images/flash02.swf';\r\n                var AutoPlayTime = 6; //间隔时间：单位是秒\r\n                document.write('<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"' + swf_width + '\" height=\"' + swf_height + '\">');\r\n                document.write('<param name=\"movie\" value=' + swfpath + '><param name=\"quality\" value=\"high\">');\r\n                document.write('<param name=\"menu\" value=\"false\"><param name=wmode value=\"opaque\">');\r\n                document.write('<param name=\"FlashVars\" value=\"bcastr_file=' + files + '&bcastr_link=' + links + '&bcastr_title=' + texts + '&AutoPlayTime=' + AutoPlayTime + '\">');\r\n                document.write('<embed src=' + swfpath + ' wmode=\"opaque\" FlashVars=\"bcastr_file=' + files + '&bcastr_link=' + links + '&bcastr_title=' + texts + '&AutoPlayTime=' + AutoPlayTime + '\" menu=\"false\" quality=\"high\" width=\"' + swf_width + '\" height=\"' + swf_height + '\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />');\r\n                document.write('</object>'); \r\n            </");
	templateBuilder.Append("script>\r\n        </div>\r\n    </div>\r\n    <!--/幻灯片-->\r\n    <!--服务项目-->\r\n    <div class=\"index_main4\">\r\n        <div class=\"tit\">\r\n            <span><a href=\"/Item/list.asp?id=1254\" target=\"_blank\">更多&gt;&gt;</a></span>服务项目</div>\r\n        <div class=\"index_main4box\">\r\n            <ul>\r\n                ");
	DataTable service_items = get_content_list(6, 0, 10, "is_lock=0 ");
	

	int item__loop__id=0;
	foreach(DataRow item in service_items.Rows)
	{
		item__loop__id++;


	templateBuilder.Append("\r\n                <li>\r\n                    <div>\r\n                        <a href=\"");
	templateBuilder.Append(linkurl("service"));

	templateBuilder.Append("\" title=\"" + Utils.ObjectToStr(item["title"]) + "\">\r\n                            <img width=\"144\" height=\"104\" src=\"" + Utils.ObjectToStr(item["img_url"]) + "\" alt=\"" + Utils.ObjectToStr(item["title"]) + "\"></a></div>\r\n                    <div class=\"title\">\r\n                        <a href=\"");
	templateBuilder.Append(linkurl("service"));

	templateBuilder.Append("\" title=\"" + Utils.ObjectToStr(item["title"]) + "\">" + Utils.ObjectToStr(item["title"]) + "</a></div>\r\n                </li>\r\n                ");
	}	//end loop


	templateBuilder.Append("\r\n            </ul>\r\n        </div>\r\n    </div>\r\n    <!--/服务项目-->\r\n    <div class=\"blank10 clear\">\r\n    </div>\r\n    <!--联系我们&公司简介-->\r\n    <div class=\"index_gsjj\">\r\n        <div class=\"index_lxwm\">\r\n            <div class=\"title\">\r\n                联系我们</div>\r\n            <div class=\"box\">\r\n                <div class=\"neirong\">\r\n                    咨询电话一：");
	templateBuilder.Append(Utils.ObjectToStr(config.webtel));
	templateBuilder.Append("<br>\r\n                    咨询电话二：");
	templateBuilder.Append(Utils.ObjectToStr(config.webtel2));
	templateBuilder.Append("<br>\r\n                    移动电话：");
	templateBuilder.Append(Utils.ObjectToStr(config.mobile1));
	templateBuilder.Append("<br>\r\n                    Q Q客服：");
	templateBuilder.Append(Utils.ObjectToStr(config.qq1));
	templateBuilder.Append("<br>\r\n                    公司邮箱：");
	templateBuilder.Append(Utils.ObjectToStr(config.webmail));
	templateBuilder.Append("<br>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"index_about\">\r\n            <div class=\"index_about_gg\">\r\n                <table width=\"618\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n                    <tbody>\r\n                        <tr>\r\n                            <td style=\"font-size: 14px; font-weight: bold;\">\r\n                                公司简介\r\n                            </td>\r\n                        </tr>\r\n                    </tbody>\r\n                </table>\r\n            </div>\r\n            <div class=\"index_about_nr\">\r\n                <div class=\"text\">\r\n                    <div class=\"bigTitleA\">\r\n                        <p>\r\n                            深圳鹏程电脑科技有限公司是一家主要为企业、教育部门及个人提供IT服务一站式服务的专业公司，是北京市高新技术企业。主要从事：移动多媒体教学系统工程、网站设计制作、监控安防、网络工程的设计、安装、维修以及销售相关设备；电脑维修、苹果电脑维修，数据恢复，IT外包服务等；并提供高效快速的上门服务。主要经营高品质的多媒体设备、系统保护软件、无盘教学系统、电子教室、LED电子显示屏、各种电脑硬件和软件、网络设备、办公耗材等。我公司致力于为合作客户提供更实用、更贴近现代信息化办公的IT管理解决方案，解决在中国事业单位及企业独特环境下存在的实际问题，帮助事业单位及企业建设稳定的信息自动化办公平台......\r\n                            <span><a href=\"/Item/list.asp?id=1212\" target=\"_blank\">【详细&gt;&gt;】</a></span></p>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <!--/联系我们&公司简介-->\r\n    <div class=\"blank10 clear\">\r\n    </div>\r\n    <!--销售产品展示-->\r\n    <div class=\"index_main4\">\r\n        <div class=\"tit\">\r\n            <span><a href=\"\" target=\"_blank\">更多&gt;&gt;</a></span>销售产品</div>\r\n        <div class=\"index_main4box\">\r\n            <ul>\r\n                ");
	DataTable product_cates = get_category_list(2, 0);
	

	int cate__loop__id=0;
	foreach(DataRow cate in product_cates.Rows)
	{
		cate__loop__id++;


	if (cate__loop__id<=6)
	{

	templateBuilder.Append("\r\n                <li>\r\n                    <div>\r\n                        <a href=\"");
	templateBuilder.Append(linkurl("goods_list",Utils.ObjectToStr(cate["id"])));

	templateBuilder.Append("\" title=\"" + Utils.ObjectToStr(cate["title"]) + "\">\r\n                            <img width=\"144\" height=\"104\" src=\"" + Utils.ObjectToStr(cate["img_url"]) + "\" alt=\"" + Utils.ObjectToStr(cate["title"]) + "\"></a></div>\r\n                    <div class=\"title\">\r\n                        <a href=\"");
	templateBuilder.Append(linkurl("goods_list",Utils.ObjectToStr(cate["id"])));

	templateBuilder.Append("\" title=\"" + Utils.ObjectToStr(cate["title"]) + "\">" + Utils.ObjectToStr(cate["title"]) + "</a></div>\r\n                </li>\r\n                ");
	}	//end if


	}	//end loop


	templateBuilder.Append("\r\n            </ul>\r\n        </div>\r\n    </div>\r\n    <!--/销售产品展示-->\r\n    <div class=\"blank10 clear\">\r\n    </div>\r\n    <!--IT知识-->\r\n    <div class=\"newsmain2\">\r\n        <div class=\"left\">\r\n            <div class=\"tit\">\r\n                <span><a href=\"\" target=\"_blank\">更多&gt;&gt;</a></span>电脑软件常识</div>\r\n            <div class=\"leftbox\">\r\n                <ul>\r\n                    <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n                        <tbody>\r\n                            ");
	DataTable listNews1 = get_news_list(1,38,10,"");
	

	int news1__loop__id=0;
	foreach(DataRow news1 in listNews1.Rows)
	{
		news1__loop__id++;


	templateBuilder.Append("\r\n                            <tr>\r\n                                <td height=\"20\">\r\n                                    <a href=\"");
	templateBuilder.Append(linkurl("news_show",Utils.ObjectToStr(news1["id"])));

	templateBuilder.Append("\" title=\"" + Utils.ObjectToStr(news1["title"]) + "\">\r\n                                        ");
	templateBuilder.Append(Utils.DropHTML(Utils.ObjectToStr(news1["title"]),28));

	templateBuilder.Append("</a>\r\n                                </td>\r\n                                <td width=\"*\" nowrap=\"\" align=\"right\">\r\n                                    <span>\r\n                                        ");	templateBuilder.Append(Utils.ObjectToDateTime(Utils.ObjectToStr(news1["add_time"])).ToString("MM-dd"));

	templateBuilder.Append("</span>\r\n                                </td>\r\n                            </tr>\r\n                            ");
	}	//end loop


	templateBuilder.Append("\r\n                        </tbody>\r\n                    </table>\r\n                </ul>\r\n            </div>\r\n            <div class=\"bot\">\r\n            </div>\r\n        </div>\r\n        <div class=\"mid\">\r\n            <div class=\"tit\">\r\n                <span><a href=\"\" target=\"_blank\">更多&gt;&gt;</a></span>电脑硬件常识</div>\r\n            <div class=\"midbox\">\r\n                <ul>\r\n                    <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n                        <tbody>\r\n                            ");
	DataTable listNews2 = get_news_list(1,37,10,"");
	

	int news2__loop__id=0;
	foreach(DataRow news2 in listNews2.Rows)
	{
		news2__loop__id++;


	templateBuilder.Append("\r\n                            <tr>\r\n                                <td height=\"20\">\r\n                                    <a href=\"");
	templateBuilder.Append(linkurl("news_show",Utils.ObjectToStr(news2["id"])));

	templateBuilder.Append("\" title=\"" + Utils.ObjectToStr(news2["title"]) + "\">\r\n                                        ");
	templateBuilder.Append(Utils.DropHTML(Utils.ObjectToStr(news2["title"]),28));

	templateBuilder.Append("</a>\r\n                                </td>\r\n                                <td width=\"*\" nowrap=\"\" align=\"right\">\r\n                                    <span>\r\n                                        ");	templateBuilder.Append(Utils.ObjectToDateTime(Utils.ObjectToStr(news2["add_time"])).ToString("MM-dd"));

	templateBuilder.Append("</span>\r\n                                </td>\r\n                            </tr>\r\n                            ");
	}	//end loop


	templateBuilder.Append("\r\n                        </tbody>\r\n                    </table>\r\n                </ul>\r\n            </div>\r\n            <div class=\"bot\">\r\n            </div>\r\n        </div>\r\n        <div class=\"right\">\r\n            <div class=\"tit\">\r\n                <span><a href=\"\" target=\"_blank\">更多&gt;&gt;</a></span>网络通信常识</div>\r\n            <div class=\"rightbox\">\r\n                <ul>\r\n                    <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n                        <tbody>\r\n                            ");
	DataTable listNews3 = get_news_list(1,1,10,"");
	

	int news3__loop__id=0;
	foreach(DataRow news3 in listNews3.Rows)
	{
		news3__loop__id++;


	templateBuilder.Append("\r\n                            <tr>\r\n                                <td height=\"20\">\r\n                                    <a href=\"");
	templateBuilder.Append(linkurl("news_show",Utils.ObjectToStr(news3["id"])));

	templateBuilder.Append("\" title=\"" + Utils.ObjectToStr(news3["title"]) + "\">\r\n                                        ");
	templateBuilder.Append(Utils.DropHTML(Utils.ObjectToStr(news3["title"]),28));

	templateBuilder.Append("</a>\r\n                                </td>\r\n                                <td width=\"*\" nowrap=\"\" align=\"right\">\r\n                                    <span>\r\n                                        ");	templateBuilder.Append(Utils.ObjectToDateTime(Utils.ObjectToStr(news3["add_time"])).ToString("MM-dd"));

	templateBuilder.Append("</span>\r\n                                </td>\r\n                            </tr>\r\n                            ");
	}	//end loop


	templateBuilder.Append("\r\n                        </tbody>\r\n                    </table>\r\n                </ul>\r\n            </div>\r\n            <div class=\"bot\">\r\n            </div>\r\n        </div>\r\n        <div class=\"clear\">\r\n        </div>\r\n    </div>\r\n    <!--/IT知识-->\r\n    <div class=\"clear blank10\">\r\n    </div>\r\n    <!--Footer-->\r\n    ");

	templateBuilder.Append("<div class=\"indexbot\">\r\n    <div class=\"foot\">\r\n        <a href=\"\">关于我们</a> | <a href=\"\">联系我们</a> | <a href=\"#\">服务报价单</a> | <a href=\"/plus/map.asp\"\r\n            target=\"_blank\">网站地图</a>\r\n    </div>\r\n    <div id=\"copyright\">\r\n        ");
	templateBuilder.Append(Utils.ObjectToStr(config.webcopyright));
	templateBuilder.Append("，");
	templateBuilder.Append(Utils.ObjectToStr(config.webcompany));
	templateBuilder.Append(". <a href=\"http://www.miibeian.gov.cn\">");
	templateBuilder.Append(Utils.ObjectToStr(config.webcrod));
	templateBuilder.Append("</a><br>\r\n        ");
	templateBuilder.Append(Utils.ObjectToStr(config.webcountcode));
	templateBuilder.Append("\r\n    </div>\r\n</div>\r\n");


	templateBuilder.Append("\r\n    <!--/Footer-->\r\n</body>\r\n</html>\r\n");
	Response.Write(templateBuilder.ToString());
}
</script>
